-
Home
-
Leaky Paywall
-
4.16.4
-
Code
-
Classes
- CurlClient
| Total Complexity |
63 |
| Dependencies |
7 |
| Dependents |
6 |
| Total lines |
432 |
| Lines of code |
233 |
| Logical lines of code |
139 |
| Comment lines |
102 |
| Methods |
24 |
| Properties |
8 |
Methods 24
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| request() |
B |
37 |
18 |
67 |
| handleCurlError() |
S |
50 |
7 |
28 |
| executeRequestWithRetries() |
S |
50 |
6 |
30 |
| shouldRetry() |
S |
60 |
5 |
15 |
| resetCurlHandle() |
S |
69 |
3 |
7 |
| hasHeader() |
S |
66 |
3 |
8 |
| instance() |
S |
71 |
2 |
6 |
| __construct() |
S |
68 |
2 |
7 |
| closeCurlHandle() |
S |
71 |
2 |
6 |
| __destruct() |
S |
82 |
1 |
3 |
| initUserAgentInfo() |
S |
68 |
1 |
7 |
| getDefaultOptions() |
S |
82 |
1 |
3 |
| getUserAgentInfo() |
S |
82 |
1 |
3 |
| getEnablePersistentConnections() |
S |
82 |
1 |
3 |
| setEnablePersistentConnections() |
S |
81 |
1 |
3 |
| getEnableHttp2() |
S |
82 |
1 |
3 |
| setEnableHttp2() |
S |
81 |
1 |
3 |
| setTimeout() |
S |
75 |
1 |
4 |
| setConnectTimeout() |
S |
75 |
1 |
4 |
| getTimeout() |
S |
82 |
1 |
3 |
| getConnectTimeout() |
S |
82 |
1 |
3 |
| sleepTime() |
S |
64 |
1 |
9 |
| initCurlHandle() |
S |
77 |
1 |
4 |
| canSafelyUseHttp2() |
S |
74 |
1 |
4 |